﻿using DataAccess.DAO;
using FluentNHibernate.Mapping;

namespace DataAccess.Mappings
{
    public class UserMap : ClassMap<UserDAO>
    {
        public UserMap()
        {
            Table("Users");
            Id(x => x.UserId);
            Map(x => x.UserName);
            Map(x => x.Password);
        }
    }
}
